#include<iostream>
using namespace std;
int f1(int *point_a, int *point_b, int *point_c) {
	
	if (*point_a >*point_b&&*point_b >*point_c)

	{
		cout << *point_a <<*point_b<<*point_c;

	};
	if (*point_a >*point_c&&*point_c >*point_b)

	{
		cout << *point_a << *point_c << *point_b;

	};
	if (*point_b >*point_a&&*point_a >*point_c)

	{
		cout << *point_b << *point_a << *point_c;

	};
	if (*point_b >*point_c&&*point_c >*point_a)

	{
		cout << *point_b << *point_c << *point_a;

	};
	if (*point_c >*point_b&&*point_b >*point_a)

	{
		cout << *point_c << *point_b << *point_a;

	};
	if (*point_c >*point_a&&*point_a>*point_b)

	{
		cout << *point_c << *point_a << *point_b;

	};
	return 0;









}
int main() {

	int a=0, b=0,c=0;
	int *point_a; int *point_b; int *point_c;
	point_a = &a; point_b = &b; point_c = &c;
	cin >>a >> b >> c;
	f1(point_a, point_b, point_c);
}